Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Kronus Heilgar
Caldari Provisions Caldari State
6
|
Posted - 2012.04.26 06:03:00 -
[1] - Quote
Is there a way to easily disable the local cache? The problem I'm having is with the getApiKeyInfo() function. If I give it a valid key, and then change the access mask of the key, and then re-run the function it still gives me the old access mask (so if a user of my site puts in a key with the wrong mask, I tell them it's wrong, then they go fix it, it won't recognize the change). Free EveMail and Notification to email forwarding www.eve-core.net |

Kronus Heilgar
Caldari Provisions Caldari State
6
|
Posted - 2012.04.26 18:41:00 -
[2] - Quote
This scenario is occurring as a result of the local cache:
- User puts in valid keyID and vCode - EveAI gets chars on key and caches - User puts in same keyID with no vCode - even though the eve API would return validation error, EveAI returns same characters
I need a way to make it return nothing if it's an invalid vCode (instead of cached result)
Also, is there a function for the CharacterName.aspx API call? If there is, I can't seem to find it (I need to use it to get the name of a corporation from CorporationID). Free EveMail and Notification to email forwarding www.eve-core.net |

Kronus Heilgar
Caldari Provisions Caldari State
6
|
Posted - 2012.04.27 21:22:00 -
[3] - Quote
Jognu wrote: I'll look if I can do something for this, but it may be difficult because the cache files are not based on the vcode.
Would it be possible to just have a function that forces the cache for that API to clear? Then I just call the cache-clear function before every APIKeyInfo call. Free EveMail and Notification to email forwarding www.eve-core.net |

Kronus Heilgar
Dreddit Test Alliance Please Ignore
10
|
Posted - 2013.07.06 22:07:00 -
[4] - Quote
Hey,
What would be your recommended way to access the access mask API (/api/calllist.xml.aspx), that shows what the mask for each option is? For some reason it has no cache timer on it (when in reality it should have a ridiculously long cache timer, since the data almost never changes), so if I want to get the data from that page EveAI will never use a cached version and will always query the API.
It would be nice if it was something that could be in the static DB, or maybe an option to force EveAI to permanently cache it?
Thanks! This is not the signature you're looking for. |
|
|